package com.che.software.testato.domain.entity;

import java.io.Serializable;

/**
 * Class representing a matrix item.
 * 
 * @author Clement HELIOU (clement.heliou@che-software.com).
 * @copyright Che Software.
 * @license GNU General Public License.
 * @see Serializable
 * @since July, 2011.
 * 
 *        This file is part of Testato.
 * 
 *        Testato is free software: you can redistribute it and/or modify it
 *        under the terms of the GNU General Public License as published by the
 *        Free Software Foundation, either version 3 of the License, or (at your
 *        option) any later version.
 * 
 *        Testato is distributed in the hope that it will be useful, but WITHOUT
 *        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *        FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 *        for more details.
 * 
 *        You should have received a copy of the GNU General Public License
 *        along with Testato. If not, see <http://www.gnu.org/licenses/>.
 * 
 *        Testato's logo is a creation of Arrioch
 *        (http://arrioch.deviantart.com/) and it's distributed under the terms
 *        of the Creative Commons License.
 */
public class MatrixItem implements Serializable {

	/**
	 * Constants.
	 */
	private static final long serialVersionUID = -3616759291034296632L;

	/**
	 * Members.
	 */
	private Double value;
	private Integer comparisonMatrixItemId, firstScript, iterationAssignmentId, secondScript;
	private String firstScriptLabel, secondScriptLabel;

	/**
	 * Getter for the private field value value.
	 * 
	 * @return the value field value.
	 */
	public Double getValue() {
		return value;
	}

	/**
	 * Setting a value to the value field.
	 * 
	 * @param value the value to set.
	 */
	public void setValue(Double value) {
		this.value = value;
	}

	/**
	 * Getter for the private field value firstScript.
	 * 
	 * @return the firstScript field value.
	 */
	public Integer getFirstScript() {
		return firstScript;
	}

	/**
	 * Setting a value to the firstScript field.
	 * 
	 * @param firstScript the value to set.
	 */
	public void setFirstScript(Integer firstScript) {
		this.firstScript = firstScript;
	}

	/**
	 * Getter for the private field value iterationAssignmentId.
	 * 
	 * @return the iterationAssignmentId field value.
	 */
	public Integer getIterationAssignmentId() {
		return iterationAssignmentId;
	}

	/**
	 * Setting a value to the iterationAssignmentId field.
	 * 
	 * @param iterationAssignmentId the value to set.
	 */
	public void setIterationAssignmentId(Integer iterationAssignmentId) {
		this.iterationAssignmentId = iterationAssignmentId;
	}

	/**
	 * Getter for the private field value secondScript.
	 * 
	 * @return the secondScript field value.
	 */
	public Integer getSecondScript() {
		return secondScript;
	}

	/**
	 * Setting a value to the secondScript field.
	 * 
	 * @param secondScript the value to set.
	 */
	public void setSecondScript(Integer secondScript) {
		this.secondScript = secondScript;
	}

	/**
	 * Getter for the private field value comparisonMatrixItemId.
	 * 
	 * @return the comparisonMatrixItemId field value.
	 */
	public Integer getComparisonMatrixItemId() {
		return comparisonMatrixItemId;
	}

	/**
	 * Setting a value to the comparisonMatrixItemId field.
	 * 
	 * @param comparisonMatrixItemId the value to set.
	 */
	public void setComparisonMatrixItemId(Integer comparisonMatrixItemId) {
		this.comparisonMatrixItemId = comparisonMatrixItemId;
	}

	/**
	 * Getter for the private field value firstScriptLabel.
	 * 
	 * @return the firstScriptLabel field value.
	 */
	public String getFirstScriptLabel() {
		return firstScriptLabel;
	}

	/**
	 * Setting a value to the firstScriptLabel field.
	 * 
	 * @param firstScriptLabel the value to set.
	 */
	public void setFirstScriptLabel(String firstScriptLabel) {
		this.firstScriptLabel = firstScriptLabel;
	}

	/**
	 * Getter for the private field value secondScriptLabel.
	 * 
	 * @return the secondScriptLabel field value.
	 */
	public String getSecondScriptLabel() {
		return secondScriptLabel;
	}

	/**
	 * Setting a value to the secondScriptLabel field.
	 * 
	 * @param secondScriptLabel the value to set.
	 */
	public void setSecondScriptLabel(String secondScriptLabel) {
		this.secondScriptLabel = secondScriptLabel;
	}
}